package org.br.erp.base.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 自定义格式分配
 * @Author: jeecg-boot
 * @Date: 2023-11-10
 * @Version: V1.0
 */
@Data
@TableName("scmcustomformatlink")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "scmcustomformatlink对象", description = "自定义格式分配")
@Entity
public class Scmcustomformatlink implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    @Id
    private java.lang.String id;
    /** 创建人 */
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
    /** 创建日期 */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
    /** 更新人 */
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
    /** 更新日期 */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
    /** 所属部门 */
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
    /** 业务对象编号 */
    @Excel(name = "业务对象编号", width = 15)
    @ApiModelProperty(value = "业务对象编号")
    private java.lang.String objectcode;
    /** 业务对象名称 */
    @Excel(name = "业务对象名称", width = 15)
    @ApiModelProperty(value = "业务对象名称")
    private java.lang.String objectname;
    /** 自定义格式 */
    @Excel(name = "自定义格式", width = 15)
    @ApiModelProperty(value = "自定义格式")
    private java.lang.String customformatid;
    /** 格式编号 */
    @Excel(name = "格式编号", width = 15)
    @ApiModelProperty(value = "格式编号")
    private java.lang.String customformatcode;

    @Column(length = 50)
    private String customformatname;
    /** 公共格式 */
    @Excel(name = "公共格式", width = 15)
    @ApiModelProperty(value = "公共格式")
    private java.lang.String ispublic;
    /** 默认格式 */
    @Excel(name = "默认格式", width = 15)
    @ApiModelProperty(value = "默认格式")
    private java.lang.String isdefault;
    /** 分配人 */
    @Excel(name = "分配人", width = 15)
    @ApiModelProperty(value = "分配人")
    @Dict(dictTable = "sys_user", dicCode = "id", dicText = "realname")
    private java.lang.String linkmanid;
    /** 分配人编号 */
    @Excel(name = "分配人编号", width = 15)
    @ApiModelProperty(value = "分配人编号")
    private java.lang.String linkemanrealname;
    /** 备注 */
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remarks;
}
